﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="HienthiCT_DDHLK.aspx.cs" Inherits="admin_HienthiCT_DDHLK" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
    <table style="width: 100%; height: 64px;">
        <tr>
            <td>
                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="MaDDH,MaLinhKien" 
                    DataSourceID="SqlDataSource1" Height="137px" Width="502px">
                    <Columns>
                        <asp:BoundField DataField="MaDDH" HeaderText="Mã Đơn Đặt Hàng" ReadOnly="True" 
                            SortExpression="MaDDH" />
                        <asp:BoundField DataField="MaLinhKien" HeaderText="Mã linh kiện" 
                            ReadOnly="True" SortExpression="MaLinhKien" />
                        <asp:BoundField DataField="SoLuong" HeaderText="Số Lượng" 
                            SortExpression="SoLuong" />
                        <asp:BoundField DataField="GiaBan" HeaderText="Giá bán" 
                            SortExpression="GiaBan" />
                    </Columns>
                    <AlternatingRowStyle VerticalAlign="Middle" />
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:maytinhxachtayConnectionString %>" 
                    SelectCommand="SELECT [MaDDH], [MaLinhKien], [SoLuong], [GiaBan] FROM [CT_DonDatHangLK]">
                </asp:SqlDataSource>
            </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </form>
</asp:Content>

